package com.bdqn.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @version 2024-09-13
 * @Author:T369曹任柱
 */

@Controller
public class DemoController {
        @GetMapping(value = "/index")
        public String index() {
            return "demo/layout/index";
        }
        @GetMapping(value = "/fragment")
        public String layout(){
            return "demo/fragment";
        }
        @GetMapping(value = "/test")
        public String main(){
            return "demo/test";
        }
}

